<template>

</template>

<script>
import { mapActions } from 'vuex';
    export default {
        name: "multiCheck",
        data() {
            return {}
        },
        methods: {
          ...mapActions({
            switchFrame: 'frameSwitch'
          }),
        },
        async mounted() {
            try {
                let res = await this.$api.get('/getHttpUrl/MULTICHECK');
                
                    //let url = `http://localhost:8086/rtxext/InitPage1?whseid=${this.$store.state.wms}&opeuser=${this.$Cookies.get('user')}&users=${this.$Cookies.get('user')}&ocale=zh`;

                    let url = `${res.bean}?whseid=${this.$store.state.wms}&opeuser=${this.$Cookies.get('user')}&users=${this.$Cookies.get('user')}&token=${this.$Cookies.get('token')}&ocale=zh`;
                  //this.$router.push({ name: "appiframe", params: { url: url } });
                  this.switchFrame({url: url, sw: false});
                
            } catch (e) {
                this.$message.error(e)
            }

        }
    }
</script>

<style scoped>

</style>
